package com.vehicle_information_management_system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.vehicle_information_management_system.dto.EmployeeCount;
import com.vehicle_information_management_system.pojo.DepartmentInfo;
import com.vehicle_information_management_system.pojo.DriverInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author huawei
* @description 针对表【driver_info】的数据库操作Service
* @createDate 2025-02-16 11:47:13
*/
public interface DriverInfoService extends IService<DriverInfo> {

    IPage<DriverInfo> listPage(Integer pageNum, Integer pageSize,String search);

    void add(DriverInfo driverInfo);

    void delete(Integer id);

    void update(DriverInfo driverInfo);

    List<DriverInfo> getDriverInfo();

    List<EmployeeCount> getDriverInfoByDepartment();

    List<EmployeeCount> getEmployeeCountByAge();

    Integer getDriverCount();
}
